package com.tengju.bff.interfaces.covercharge.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "新增修改邮寄发票请求实体类")
public class InvoiceVo {

    @ApiModelProperty(value = "来源，前端标识", required = true)
    private String from;

    @ApiModelProperty(value = "自认证申请记录ID", required = true)
    @NotNull(message = "请选择申请记录")
    private Integer withdrawId;

    @ApiModelProperty(value = "快递公司名称", required = true)
    @NotBlank(message = "请填写快递公司")
    private String expressName;

    @ApiModelProperty(value = "运单号", required = true)
    @NotBlank(message = "请填写快递单号")
    private String shippingNo;

    @ApiModelProperty(value = "快递图片", required = true)
//    @NotNull(message = "请上传快递图片")
    private String imgId;

}
